#ifndef SYSREADSQLSANDSPLIT_H
#define SYSREADSQLSANDSPLIT_H

#include <QObject>
#include "cnsComponent.h"

class SysReadSqlsAndSplit : public QObject
{
    Q_OBJECT
private:
    bool readFile(const QString& fileName, QString& contents);
    void split(const QString& contents, QStringList &l);
public:
    Q_INVOKABLE SysReadSqlsAndSplit();
    Q_INVOKABLE void f_query(CnsComponentPtr com, CnsComponentPtr gnFindPathDBThread);
};

Q_DECLARE_METATYPE(SysReadSqlsAndSplit*)

#endif // SYSREADSQLSANDSPLIT_H
